package com.sc.VenusQueryBeta.contract.detail;


import com.sc.VenusQueryBeta.presenter.detail.BaseWebViewLoadPresenter;

import io.reactivex.Observable;

/**
 * Created by Administrator on 26/9/2018.
 * 关于我们詳情頁接口
 */

public interface AboutUsContract {
    abstract class AboutUsPresenter extends BaseWebViewLoadPresenter<IAboutUsModel, IAboutUsView> {
        /**
         * 加载日报详情
         */
        public abstract void loadDailyDetail(String id);
    }
    interface IAboutUsModel extends BaseWebViewLoadContract.IBaseWebViewLoadModel{
        /**
         * 获取日报详情
         *
         * @param id 日报id
         * @return Observable
         */
        Observable<Object> getDailyDetail(String id);
        Object getList();
    }
    interface  IAboutUsView extends BaseWebViewLoadContract.IBaseWebViewLoadView{
        /**
         * 显示日报详细内容
         *
         * @param bean ZhihuDailyDetailBean
         */
        void  showDailyDetail(Object bean);
    }
}